package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程记录对象 ztf_learning_record
 * 
 * @author ruoyi
 * @date 2025-06-06
 */
@Data
public class ZtfAppLearningRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private String uuid;

    /** 课程id关联 */
    @Excel(name = "课程id关联")
    @ApiModelProperty("课程id")
    private String kechengId;

    /** 学习观看时间 */
    @Excel(name = "学习观看时间")
    @ApiModelProperty("学习观看时间")
    private String startTime;

    /** 1,学完 2没完，3没开始学 */
    @Excel(name = "1,学完 2没完，3没开始学")
    @ApiModelProperty("1,学完 2没完，3没开始学")
    private Long learnState;

    /** 备注，学习问题 */
    @Excel(name = "备注，学习问题")
    @ApiModelProperty("备注，学习问题")
    private String bak;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("视频id")
    private String videoId;

    @ApiModelProperty("是否播放完，0未播放，1已播放")
    private Integer isOver;

    public void setUuid(String uuid) 
    {
        this.uuid = uuid;
    }

    public String getUuid() 
    {
        return uuid;
    }

    public void setKechengId(String kechengId) 
    {
        this.kechengId = kechengId;
    }

    public String getKechengId() 
    {
        return kechengId;
    }

    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }

    public void setLearnState(Long learnState) 
    {
        this.learnState = learnState;
    }

    public Long getLearnState() 
    {
        return learnState;
    }

    public void setBak(String bak) 
    {
        this.bak = bak;
    }

    public String getBak() 
    {
        return bak;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uuid", getUuid())
            .append("kechengId", getKechengId())
            .append("startTime", getStartTime())
            .append("learnState", getLearnState())
            .append("bak", getBak())
            .toString();
    }
}
